package com.huadi.ssm.service;

import com.huadi.ssm.po.Expert;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public interface ExpertService {
    public Expert findByName(String name);
    public int add(Expert expert);
    public int edit(Expert expert);
    public int delete(String ids);
    public List<Expert> findList(Map<String,Object> queryMap);
    public List<Expert> findAll();
    public int getTotal(Map<String,Object> queryMap);
}
